package extends1;

public class BookDemo {
    public static void main(String[] args) {
        ThinkingInJava thinkingInJava = new ThinkingInJava();
        thinkingInJava.setPrice(108);
        thinkingInJava.setAge(10);

        System.out.println(thinkingInJava);
        System.out.println(thinkingInJava.getThis());

        System.out.println(thinkingInJava.getName());
        System.out.println(thinkingInJava.getPrice());
        System.out.println(thinkingInJava.getAge());
    }
}
